package ${packageName}.entity.convert;


import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.NullValuePropertyMappingStrategy;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring",nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ${entry.entityName?cap_first}Convert {

  ${entry.entityName?cap_first}Convert INSTANT = Mappers.getMapper(${entry.entityName?cap_first}Convert.class);
  
  ${entry.entityName?cap_first}VO dto2Vo(${entry.entityName?cap_first}DTO source);
  ${entry.entityName?cap_first}DTO po2Dto(${entry.entityName?cap_first}PO source);

  ${entry.entityName?cap_first}DTO addForm2Dto(${entry.entityName?cap_first}AddForm source);

  ${entry.entityName?cap_first}PO dto2Po(${entry.entityName?cap_first}DTO source);

  ${entry.entityName?cap_first}DTO updateForm2Dto(${entry.entityName?cap_first}UpdateForm source);

  ${entry.entityName?cap_first}DTO saveForm2Dto(${entry.entityName?cap_first}SaveForm source);


}
